package com.SpringMVC.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * 使用javaConfig方式来配置Spring
 */
@Configuration
@Import({RequestMappingHandlerConfig.class, CommonConfig.class})
//@Import({SimulationHandlerConfig.class, CommonConfig.class})
@ComponentScan(basePackages = "com.SpringMVC.controller.annotation")
public class SpringConfig {
}
